home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / nihcl-30.lha / nihcl-3.0 / lib / OIOnih.h < prev    next >
C/C++ Source or Header  |  1990-05-19  |  1KB  |  46 lines

  1. #ifndef    OIONIH_H
  2. #define    OIONIH_H
  3.  
  4. /*$Header: /afs/alw.nih.gov/unix/sun4_40c/usr/local/src/nihcl-3.0/share/lib/RCS/OIOnih.h,v 3.0 90/05/20 00:20:30 kgorlen Rel $*/
  5.  
  6. /* OIOnih.h -- declarations for "NIH-format" stream Object I/O classes
  7.  
  8.     THIS SOFTWARE FITS THE DESCRIPTION IN THE U.S. COPYRIGHT ACT OF A
  9.     "UNITED STATES GOVERNMENT WORK".  IT WAS WRITTEN AS A PART OF THE
  10.     AUTHOR'S OFFICIAL DUTIES AS A GOVERNMENT EMPLOYEE.  THIS MEANS IT
  11.     CANNOT BE COPYRIGHTED.  THIS SOFTWARE IS FREELY AVAILABLE TO THE
  12.     PUBLIC FOR USE WITHOUT A COPYRIGHT NOTICE, AND THERE ARE NO
  13.     RESTRICTIONS ON ITS USE, NOW OR SUBSEQUENTLY.
  14.  
  15. Author:
  16.     K. E. Gorlen
  17.     Computer Systems Laboratory, DCRT
  18.     National Institutes of Health
  19.     Bethesda, MD 20892
  20.     May, 1989
  21.  
  22. Modification History:
  23.  
  24. $Log:    OIOnih.h,v $
  25.  * Revision 3.0  90/05/20  00:20:30  kgorlen
  26.  * Release for 1st edition.
  27.  * 
  28. */
  29. #include "OIOstream.h"
  30.  
  31. class OIOnihin : public OIOistream {
  32. protected:
  33.     virtual Object* readObject(const Class&);
  34. public:
  35.     OIOnihin(istream& s) : OIOistream(s) {}
  36. };
  37.  
  38. class OIOnihout : public OIOostream {
  39. protected:
  40.     virtual void storeObject(const Object&);
  41. public:
  42.     OIOnihout(ostream& s) : OIOostream(s) {}
  43. };
  44.  
  45. #endif
  46.